package com.example.administrator.compileapp.activity;

import android.content.Intent;
import android.databinding.DataBindingUtil;
import android.support.v7.app.AppCompatActivity;
import android.os.Bundle;
import android.view.View;

import com.example.administrator.compileapp.MainActivity;
import com.example.administrator.compileapp.R;
import com.example.administrator.compileapp.databinding.ActivityWelcomeAnimationBinding;
import com.example.administrator.compileapp.drawer.LoginActivity;

public class WelcomeAnimationActivity extends AppCompatActivity implements View.OnClickListener {
    private ActivityWelcomeAnimationBinding binding;

    @Override
    protected void onCreate(Bundle savedInstanceState) {
        super.onCreate(savedInstanceState);
        binding = DataBindingUtil.setContentView(this, R.layout.activity_welcome_animation);
        binding.welcomeStatr.setOnClickListener(this);
       // finish();
    }

    @Override
    public void onClick(View v) {
        Intent intent = new Intent(this, MainActivity.class);
        startActivity(intent);
    }
}
